﻿<%@ Page Title="" Language="C#" MasterPageFile="~/CPSite.Master" AutoEventWireup="true" CodeBehind="CourseDetails.aspx.cs" Inherits="WebTemplate.ControlPanel.Account.CourseDetails" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <fieldset>
        <legend>Course Details</legend>
        <div class="form">
            <p>
                <asp:Label ID="coursename" runat="server" Text="Name" AssociatedControlID="Name"></asp:Label>
                <asp:TextBox ID="Name" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="Name" ErrorMessage="*"></asp:RequiredFieldValidator>

            </p>
            <p>
                <asp:Label ID="coursedescription" runat="server" Text="Description" AssociatedControlID="Description"></asp:Label>
                <asp:TextBox ID="Description" runat="server" TextMode="MultiLine" Rows="2"></asp:TextBox>
            </p>
            <p>
                <asp:Label ID="courseprereq" runat="server" Text="Prerequisite" AssociatedControlID="PreReq"></asp:Label>
                <asp:TextBox ID="PreReq" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="PreReq" ErrorMessage="*"></asp:RequiredFieldValidator>
            </p>

            <p>
                <asp:Label ID="Department" runat="server" Text="Department" AssociatedControlID="Dept"></asp:Label>
                <asp:TextBox ID="Dept" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="Dept" ErrorMessage="*"></asp:RequiredFieldValidator>

            </p>

            <asp:Button ID="SaveCourse" runat="server" Text="Save" CssClass="formbutton" OnClick="SaveCourse_Click" />
            <asp:Button ID="CancelCourse" runat="server" Text="Cancel" CssClass="formbutton" OnClick="CancelCourse_Click" />

        </div>
    </fieldset>
</asp:Content>
